﻿using System;

namespace DBMock.Builders.Attributes
{
    /// <summary>
    /// bool型builder特性
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
    public class BoolBuilderAttribute : BaseBuilderAttribute
    {
        /// <summary>
        /// 初始化bool型builder特性
        /// </summary>
        /// <param name="truePercent">true概率</param>
        public BoolBuilderAttribute(int truePercent = 50)
            : base(typeof(BoolBuilder), truePercent)
        {
        }
    }
}
